package com.github.leecho.spring.cloud.gateway.dubbo.argument.rewirte.variable;

import org.springframework.web.server.ServerWebExchange;

import java.util.Map;

/**
 * @author LIQIU
 * @date 2021/7/2 16:48
 */
public interface VariableRenderContext {

	/**
	 * @return
	 */
	ServerWebExchange getExchange();

	/**
	 * @return
	 */
	Map<String,Object> getPayload();

	/**
	 * @return
	 */
	Map<String, Object> getVariables();

	/**
	 * @param name
	 * @param value
	 */
	void setVariable(String name, Object value) ;

}
